import request from '@/utils/request'

// 查询产品效期月代码列表
export function listProjectReagentMonth(query) {
  return request({
    url: '/product/projectReagentMonth/list',
    method: 'get',
    params: query
  })
}

// 查询产品效期月代码详细
export function getProjectReagentMonth(randomUuid) {
  return request({
    url: '/product/projectReagentMonth/' + randomUuid,
    method: 'get'
  })
}

// 新增产品效期月代码
export function addProjectReagentMonth(data) {
  return request({
    url: '/product/projectReagentMonth',
    method: 'post',
    data: data
  })
}

// 修改产品效期月代码
export function updateProjectReagentMonth(data) {
  return request({
    url: '/product/projectReagentMonth',
    method: 'put',
    data: data
  })
}

// 删除产品效期月代码
export function delProjectReagentMonth(recordId) {
  return request({
    url: '/product/projectReagentMonth/' + recordId,
    method: 'delete'
  })
}

// 导出产品效期月代码
export function exportProjectReagentMonth(query) {
  return request({
    url: '/product/projectReagentMonth/export',
    method: 'get',
    params: query
  })
}
